<?php
/* @var $this RosterController */
/* @var $model Schedule */
/**/
?>
<center>
<h3>Current Schedule for <?php echo $model->user_relation->fullname; ?> on <?php echo $date;?> </h3>


<?php 
$this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		array(
				'name'=>'Weekday',
				'value'=> $model->weekday_relation->name,
		),			
		array(
				'name'=>'Shift',
				'value'=> $model->shift_relation->name,
		),		
		'shift_relation.start_time',
		'shift_relation.end_time',
		array(
				'name'=>'Q-Shift',
				'value'=> $model->qshift_relation->name,
		),	
		'qshift_relation.start_time',
		'qshift_relation.end_time',			
	),
)); 

?>
